from Mdb import DB

db=DB().getDb()
 
collection=db['test']

res=collection.find()

for item in res:
    print(item)